libxl: change most remaining LIBXL_LOG to LOG in libxl_qmp.c
authorKelley Nielsen <kelleynnn@gmail.com>
Fri, 15 Nov 2013 01:41:07 +0000 (17:41 -0800)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 19 Nov 2013 14:05:35 +0000 (14:05 +0000)
commitf28b2f4dfd566091e7d36f5d298c162feb4a5cd6
tree41cc0c3aa5c86afa8ee6118795529ccce131fb5b
parentd6738db02d397ff7edd6ff7af156980cd9d780ad
libxl: change most remaining LIBXL_LOG to LOG in libxl_qmp.c

Coding style has recently been changed for libxl. The convenience
macro LOG() has been introduced, and invocations of the old macro
LIBXL__LOG() are to be replaced with it. Change occurences of the
old macro to the new one in the functions qmp_handle_response()
and qmp_handle_error_response(). The new macros need access to a
local libxl__gc *gc, so add it as a parameter to both these functions,
and pass the instance in qmp_next() down the call chain to
qmp_handle_response() and in turn to qmp_handle_error_response().

Suggested-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Kelley Nielsen <kelleynnn@gmail.com>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
[ijc -- reverted one unintential w/s change]
tools/libxl/libxl_qmp.c